package cn.jhz.learn.blog.service.core.auth.article;

import cn.jhz.learn.blog.vo.article.query.page.ConsolePageView;
import cn.jhz.learn.blog.vo.article.submit.SubfieldParam;

import java.util.Map;


public interface ConsoleArticleSubfieldService {

    Integer create(Integer uid, SubfieldParam param);

    void delete(Integer uid, Integer id, Boolean deep);

    void update(Integer uid, SubfieldParam param);

    void recycle(Integer uid, Integer id);

    void stick(Integer uid, Integer id, Boolean sticky);

    Map<String, Object> getDetail(Integer uid, Integer id);

    Map<String, Object> getCountAndList(Integer uid, ConsolePageView pageView);
}
